Remove theme toggle and default to light theme#64
Open
sweep-ai-deprecated[bot] wants to merge 8 commits intomainfrom
Open
Remove theme toggle and default to light theme#64sweep-ai-deprecated[bot] wants to merge 8 commits intomainfrom
sweep-ai-deprecated[bot] wants to merge 8 commits intomainfrom
Conversation
Open
5 tasks
|
The latest updates on your projects. Learn more about Vercel for Git ↗︎
|
wwzeng1
reviewed
Sep 7, 2023
app/layout.tsx
Outdated
| </html> | ||
| ); | ||
| } | ||
| <ThemeProvider attribute="class" defaultTheme="light" enableSystem> |
Contributor
Author
There was a problem hiding this comment.
Done.
wwzeng1
reviewed
Sep 7, 2023
| } | ||
| </body> | ||
| </html> | ||
| ); |
Contributor
Author
There was a problem hiding this comment.
Done.
wwzeng1
reviewed
Sep 7, 2023
app/layout.tsx
Outdated
| </body> | ||
| </html> | ||
| ); | ||
| <ThemeProvider attribute="class" defaultTheme="light" enableSystem> |
There was a problem hiding this comment.
replace the above themeprovider with this line, and then delete this line
Contributor
Author
There was a problem hiding this comment.
Done.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Description
This PR removes the theme toggle from the site header and makes the application default to the light theme.
Summary of Changes
layout.tsxfile, thedefaultThemeproperty in theThemeProvidercomponent has been changed to "light".site-header.tsxfile, the line that adds theThemeTogglecomponent to the site header has been removed.ThemeTogglecomponent file has been deleted as it is no longer needed.app/_examples/client-component/page.tsxandapp/_examples/server-action/page.tsxfiles have been checked for any references to theThemeTogglecomponent or thedefaultThemeproperty and modified or removed as necessary.Please review and merge this PR to remove the theme toggle and default to the light theme.
Fixes #63.
To checkout this PR branch, run the following command in your terminal:
🎉 Latest improvements to Sweep:
💡 To get Sweep to edit this pull request, you can: